
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Attaching or embedding manifest files</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp276.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp278.htm" >Next</A>
<!-- End Header -->
<A NAME="CHDFHGCCCS"></A><h1>Attaching or embedding manifest files</h1>
<A NAME="TI10198"></A><p>If you want to deploy an application to the Windows Vista
operating system that meets the certification requirements of the
Windows Vista Logo program, you must follow User Account Control
(UAC) guidelines. The executable file must have an embedded manifest
that defines the execution level and specifies whether access to
the user interface of another window is required. The Vista Application
Information Service (AIS) checks the manifest file to determine the
privileges with which to launch the process. Use the Security tab
page in the Project painter to specify these properties.</p>
<A NAME="TI10199"></A><h4>Generate options</h4>
<A NAME="TI10200"></A><p>Select Embedded manifest if your application needs to be certified
for Vista. A manifest file with the execution level you select is
embedded in the application's executable file.</p>
<A NAME="TI10201"></A><p>You can also select External manifest to generate a standalone
manifest file in XML format that you ship with your application's
executable file, or No manifest if you do not need to distribute
a manifest file. </p>
<A NAME="TI10202"></A><h4>Execution level</h4>
<A NAME="TI10203"></A><p>Select As Invoker if the application does not need elevated
or administrative privileges. Selecting a different execution level
will probably require that you modify your application to isolate
administrative features in a separate process to receive Vista certification.</p>
<A NAME="TI10204"></A><p>Select Require Administrator if the application process must
be created by a member of the Administrators group. If the application
user does not start the process as an administrator, a message box
displays so that the user can enter the appropriate credentials.</p>
<A NAME="TI10205"></A><p>Select Highest Available to have the AIS retrieve the highest
available access privileges for the user who starts the process.</p>
<A NAME="TI10206"></A><h4>UI access</h4>
<A NAME="TI10207"></A><p>If the application needs to drive input to higher privilege
windows on the desktop, such as an on-screen keyboard, select the "Allow
access to protected system UI" check box. For most applications
you should not select this check box. Microsoft provides this setting
for user interface Assistive Technology (Section 508) applications.</p>
<p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>Authenticode signing required</span> <A NAME="TI10208"></A>If you check this box, the application must be Authenticode
signed and must reside in a protected location, such as <i>Program
Files</i> or <i>Windows\system32</i>.</p>

